package com.sata.sim;

import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Helper {

	public static List<Integer> convertSpacedInt(InputStream in) {
		Scanner scanner = new Scanner(in);
		List<Integer> list = new ArrayList<Integer>();
		while (scanner.hasNextInt()) {
			list.add(scanner.nextInt());

		}

		return list;
	}
}
